import styled from "styled-components";

export const Container  = styled.div`
    margin-top: 0.25rem;
    width:9rem;
    height: 4rem;
    margin-left: 0.5rem;
    background-color: #fff;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    .top{
        display: flex;
        flex-direction: row;
        align-items: center;
        /* border: 1px solid #000; */
        height: 1.1rem;
        width: 100%;
        position: relative;
        .t_left{
            font-family: Microsoft YaHei;
            font-size: 16px;
            font-weight: 600;
            color: #0e1113;
            margin-left:0.5rem ;
            margin-right: 0.5rem;
        }
        .t_middle{
            padding-left: 0.2rem;
            padding-right: 0.2rem;
            background-color: #fbedea;
            color: #bb1115;
        }
        .t_right{
            font-family: Microsoft YaHei;
            color: #a3a6a8;
            font-size: 12px;
            position: absolute;
            left: 5.5rem;
        }
    }
    .bottom{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        .box{
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0.1rem;
            .b_box{
                height: 2rem;
                width: 1.8rem;
                
            }
            .b_price{
                font-family: Microsoft YaHei;
                font-size: 14px;
                color: #de020b;
                font-weight: 600;
                position: relative;
                .before{
                    display: inline;
                    color: #8c8f8e;
                    font-size: 9px;
                    font-weight: 500;
                }
                .before::after{
                    content: '';
                    position:absolute;
                    left: 47px;
                    top: 10px;
                    height: 0.0001rem;
                    width: 0.6rem;
                    border-bottom: 1px solid #000;
                }
            }
        }
    }
`